package com.manager.entity;

public class User {
    private String userid;

    private String password;

    private Integer identity;

    private Boolean online;
    public User() {
    }

    //插入用的类。
    public User(String userid, String password, Integer identity) {
        this.userid = userid;
        this.password = password;
        this.identity = identity;
    }

    public User(String userid, String password, Integer identity, Boolean online) {
        this.userid = userid;
        this.password = password;
        this.identity = identity;
        this.online = online;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }

    public Boolean getOnline() {
        return online;
    }

    public void setOnline(Boolean online) {
        this.online = online;
    }
}